﻿@model Applica.Models.SponsorInputs345xModel    
<div class="welcome_tab ">
                                <div class="left_part">
                                    <h4>
                                        Default Location</h4>
                                    <div class="welcome_img_phone">
                                        
                                        <img src="@Url.Content("~/images/default-location.png")" alt=""  class="phoneImageLocation"/>
            <img style="display: none" src="@Url.Content("~/images/mobileApp/screenshots android/default-location-android.png")" alt=""  class="phoneImageLocation"/>
              <img src="@Url.Content("~/images/mobileApp/see as android.png")" alt=""  class="phoneImageLocation1 phoneImageandroid"/>
            <img style="display: none" src="@Url.Content("~/images/mobileApp/see as iphone.png")" alt=""  class="phoneImageLocation1 phoneImageandroid"/>
            <script>
                $(".phoneImageLocation1").click(function () {
                    $(".phoneImageLocation1").toggle();
                    $(".phoneImageLocation").toggle();
                });
            </script>


                                    </div>
                                </div>
                                <div class="right_part">
                                    <p class="topdescription">
                                        You can provide a 'Default Location' so that when your customers are doing their
                                        initial setup, that the 'Local Climate' screen will already have your country and
                                        state or province.</p>
                                   
                                       <div id="spnMessagelocation"></div>
                                    @using (Ajax.BeginForm("Update", "Iphone", new AjaxOptions
                {
                    HttpMethod = "POST",
                    LoadingElementId = "loaderlocation",
                    OnSuccess = "successlocation"
                  
                }))
               {                               @Html.HiddenFor(model => model.sponsor)
                                         <div style="top: 80%; position: absolute; left: 50%;display:none" id="loaderlocation" ><img src="@Url.Content("~/images/ajax-loader.gif")" /></div>
                                        
                                     <div class="upload_view" style="height: 390px;">
                                        <div class="up_data">

											 @Html.HiddenFor(model => model.ipscountry)
                                            	 @Html.HiddenFor(model => model.ipsstateprovince)
                                            <label>
                                                Country:</label>
                                                @Html.DropDownList("Country")
                                            
                                            <div class="info_icon">
                                                <a href="#" class="tooltip">
                                                    <img src="@Url.Content("~/images/info_icon.png")" alt="" />
                                                    <span style="margin-left: -210px; margin-top: 33px;">
                                                        <img class="callout" src="@Url.Content("~/images/user_view_img1.png")"  alt="" />
                                                        <p class="user_cont">
                                                            Your “My Screen” is a screen completely dedicated to you and the messages, image,
                                                            and links that you want to provide your customers.
                                                        </p>
                                                    </span></a>
                                            </div>

                                        </div>
                                        <div class="up_data">
                                           <label>
                                                State / Province:</label>
                                             @Html.DropDownList("State", @ViewData["optional"].ToString())
                                            <div class="info_icon">
                                                <a href="#" class="tooltip">
                                                    <img src="@Url.Content("~/images/info_icon.png")" alt="" />
                                                    <span style="margin-left: -210px; margin-top: 33px;">
                                                        <img class="callout" src="@Url.Content("~/images/user_view_img1.png")" alt="" />
                                                        <p class="user_cont">
                                                            Your “My Screen” is a screen completely dedicated to you and the messages, image,
                                                            and links that you want to provide your customers.
                                                        </p>
                                                    </span></a>
                                            </div>

                                        </div>
                                    </div>
                                    <div class="save_btn">
                                         <input type="submit" value="" id="btnSubmitlocation"/>  
                                 </div>
                                   }
                                </div>
                            </div>


